package com.spa.application.dto.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.spa.application.dto.common.rule.RuleDto;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@JsonInclude
public class ShopDTO {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    private String logo;

    private String name;

    private String owner;

    private String address;

    private String phone;

    private String businessLicense;

    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Integer isDel;

    private String cityName;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long cityId;

    private Integer withdrawPeriod;

    private List<RuleDto> ruleDtoList;

}
